package com.laopan.elasticsearch.bean.geo;

import com.laopan.elasticsearch.bean.Field;

import java.util.List;

/**
 * @author laopan
 * @className EsSearchReq
 * @date 2021/4/12 16:17
 */
public class GeoSearch{
    private String searchKey;
    private String[] fields;
    private Location point;
    private List<Field> queryFields;

    public String getSearchKey() {
        return searchKey;
    }

    public void setSearchKey(String searchKey) {
        this.searchKey = searchKey;
    }

    public String[] getFields() {
        return fields;
    }

    public void setFields(String[] fields) {
        this.fields = fields;
    }

    public Location getPoint() {
        return point;
    }

    public void setPoint(Location point) {
        this.point = point;
    }

    public List<Field> getQueryFields() {
        return queryFields;
    }

    public void setQueryFields(List<Field> queryFields) {
        this.queryFields = queryFields;
    }
}
